package com.example.applets.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 微信用户
 * </p>
 *
 * @author 云烟成雨丶
 * @since 2020-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("w_user")
@ApiModel(value="User对象", description="微信用户")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户名-微信名")
    private String wname;

    @ApiModelProperty(value = "手机")
    private String tele;

    @ApiModelProperty(value = "微信的openid")
    private String openid;

    @ApiModelProperty(value = "密码")
    private String upass;

    @ApiModelProperty(value = "默认地址")
    private Long addrid;

    @ApiModelProperty(value = "是否可用")
    private Boolean inuse;

    @ApiModelProperty(value = "姓名")
    private String nickname;


}
